Improve experience with the flexible target specification
authorAlex Crichton <alex@alexcrichton.com>
Mon, 9 Mar 2015 16:49:33 +0000 (09:49 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 10 Mar 2015 02:43:06 +0000 (19:43 -0700)
commit29b24cdbe73f33c1dae889b539d5edfb78f1c6f8
tree245470732e2e17c0498568938d1a806cb7a67b33
parente4f0662b4ba7feacc10c19465182b8174aae4e9d
Improve experience with the flexible target specification

When calculating the output directory filename, only use the "file name"
component of the target triple specified as otherwise the output could be placed
into an odd location.

Closes #1390
src/cargo/ops/cargo_rustc/layout.rs